import 'dart:convert';

AssessmentTeacherQueryDto assessmentTeacherQueryDtoFromJson(String str) =>
    AssessmentTeacherQueryDto.fromJson(json.decode(str));

String assessmentTeacherQueryDtoToJson(AssessmentTeacherQueryDto data) =>
    json.encode(data.toJson());

class AssessmentTeacherQueryDto {
  AssessmentTeacherQueryDto({
    this.status,
    this.type,
    this.assessmentId,
    this.userName,
  });

  List<String>? status;
  List<String>? type;
  String? assessmentId;
  String? userName;

  factory AssessmentTeacherQueryDto.fromJson(Map<String, dynamic> json) =>
      AssessmentTeacherQueryDto(
          status: List<String>.from(json["staus"].map((x) => x)),
          type: List<String>.from(json["type"].map((x) => x)),
          assessmentId: json['assessmentId'],
          userName: json['userName']);

  Map<String, dynamic> toJson() => {
        "status": List<dynamic>.from(status!.map((x) => x)),
        "type": List<dynamic>.from(type!.map((x) => x)),
        "assessmentId": assessmentId,
        "userName": userName
      };
}
